package com.Brave.manager.Demo02;

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

public class Demo04 {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new FileReader("D:\\JAVA\\File\\a.txt"));

        char[] chas = new char[1024];
        int len ;

        while ((len = br.read(chas)) != -1){
            System.out.println(new String(chas,0,len));
        }
        br.close();
    }
}
